function loader(url,data,container)
{	
	var request = 
		$.ajax({
				url:url,
				type: "POST",
				data: data,
				dataType: "html"
				});
				
		request.done(
				function(msg) 
				{
					$("#"+container).html( msg );
					
				});
		
		
		request.fail(
				function(jqXHR, textStatus) 
				{
					$("#"+container).html( textStatus ); 
					
				});
}